﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Detai.Site.Models.LogOnModel>" %>

<asp:Content ID="loginTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Đăng nhập
</asp:Content>

<asp:Content ID="loginContent" ContentPlaceHolderID="MainContent" runat="server">
<div class="space"></div>
<div class="border_box" style="height: 210px">
    <div class="bar_top_lg">Đăng nhập</div>
    <div class="col_lg_l"></div>
    <% using (Html.BeginForm()) { %>
        <%= Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.") %>
        <div class="col_lg_r">
        	<div class="list_lg">
            	<ul>
                	<li><label>Tên tài khoản</label> : <%= Html.TextBoxFor(m => m.UserName, new { @class = "txt_input" })%></li>
                    <li><label>Mật khẩu</label> : <%= Html.PasswordFor(m => m.Password, new { @class = "txt_input" })%></li>
                </ul>
            </div>
            <p>
            	<span><%if (ViewData["MessageInfo"] != null && ViewData["MessageInfo"].ToString().Trim().Length >0)
                     {%>
                     <%=ViewData["MessageInfo"]%>
            	<%} %>    
            	</span>
            </p>
            <p>
              <input type="submit" class="btn_click" value="Đăng nhập"/>
            </p>
            <%--<p><a href="#" class="gr">Quên mật khẩu ?</a></p>--%>
            <p>Nếu bạn chưa có tài khoản click <a href="/Account/Dangky" class="gr">Vào Đây</a> để đăng ký</p>
        </div>
    <% } %>
</div>
<div class="clear"></div>
</asp:Content>
